﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Y2.Dao;
using EFModel;
using xm.Controllers;

namespace IServices
{
    public interface Iengage_major_release//职位发表登记表接口
    {
        //三级联动方法
        Task<string> Dg();
        List<Typn> CreateTree1(List<config_file_first_kind> list, int pid);
        List<Typn> CreateTree2(List<config_file_second_kind> list, int pid);
        List<Typn> CreateTree3(List<config_file_third_kind> list, int pid);
        //二级联动方法
        Task<string> Dgto();
        //职位发表添加
        Task<int> Insert(engage_major_release release);
        //职位发布变更查询
        Task<ResultInfo> Quer(int currentPage, int pageSize);
        //职位发布修改
        Task<int> Update(engage_major_release release);
        //职位发布删除
        Task<int> Delt(engage_major_release release);
    }
}
